package dataserver.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;
import org.hibernate.annotations.Where;

import javax.persistence.*;
import java.util.Date;
import java.util.List;

/**
 *@类:围栏表
 */
@Entity
@Table(name = "scene_fence")
@Data
@AllArgsConstructor //生成全参数构造函数
@NoArgsConstructor//生成无参构造函数
@Where(clause = "del_flag=0")
public class SceneFence extends Base {

   /**
    * 站场id
    */
   @Column(name = "station_id")
   private String stationId;

   /**
    * 站场名称
    */
   @Column(name = "station_name")
   private String stationName;

   /**
    * 围栏编号
    */
   @Column(name = "fence_code")
   private String fenceCode;

   /**
    * 围栏名称
    */
   @Column(name = "fence_name")
   private String fenceName;

   /**
    * 围栏数据
    */
   @Column(name = "fence_data")
   private String fenceData;

}